﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TIMETABLEASY.Model
{
    public class Event : BindableObject
    {
        public static string PersoCalendar = "#176C60"; //vert
        public static string ELearningCalendar = "#BAB40B"; //Jaune
        public static string PresentCalendar = "#B3172C"; //Rouge

        private string subject;
        public string Subject 
        {
            get { return subject; }
            set
            {
                if (subject != value)
                {
                    subject = value;
                   
                }
            }
        }
                
        private string location;
        public string Location
        {
            get { return location; }
            set
            {
                if (location != value)
                {
                    location = value;
                    
                }
            }
        }

        private string typCalendar;
        public string TypCalendar
        {
            get { return typCalendar; }
            set
            {
                if (typCalendar != value)
                {
                    typCalendar = value;
                }
            }
        }



        private string intervenant;
        public string Intervenant
        {
            get { return intervenant; }
            set
            {
                if (intervenant != value)
                {
                    intervenant = value;

                }
            }
        }

        private DateTime startTime;
        public DateTime StartTime
        {
            get { return startTime; }
            set
            {
                if (startTime != value)
                {
                    startTime = value;
                  
                }
            }
        }

        private DateTime endTime;
        public DateTime EndTime
        {
            get { return endTime; }
            set
            {
                if (endTime != value)
                {
                    endTime = value;
                    
                }
            }
        }

        public override string ToString()
        {
            return Subject;
        }
    }

}



